package cn.chencaiju.exam.oop;

public class Book {
	private String number;
	private String name;
	private int price;
	public Book(String number, String name, int price) {
		super();
		this.number = number;
		this.name = name;
		this.price = price;
	}
	public Book() {
		super();
	}
	
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Book [number=" + number + ", name=" + name + ", price=" + price + "]";
	}
	
}
